/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package hu.tothgya.timetable;

import java.util.Calendar;
import java.util.List;

/**
 * Superclass for timetable factories.
 * @author tothgya
 */
public abstract class TimetableFactory {
    protected String start;
    protected String destination;
    protected Calendar time;
    /**
     * Gets the list of journeys for the timetable
     * @return the list of journeys for the timetable
     */
    public abstract List<Journey> getJourneys();
    /**
     * Creates a timetable based on the journeys.
     * @return a timetable with the journey's basic data.
     */
    public abstract Timetable getJourneyTimetable();
    /**
     * Creates a timetable with detailed connection data.
     * @return a timetable with detailed connection data.
     */
    public abstract Timetable getConnectionTimeTable();
}
